package com.csyf.manager.dao;

import com.csyf.manager.entity.SysAgentChannel;
import org.apache.ibatis.annotations.UpdateProvider;
import tk.mybatis.mapper.common.Mapper;

/**
 * @Author: Enzo
 * @Date: 2018/3/30 19:49
 */
public interface SysAgentChannelDao extends Mapper<SysAgentChannel> {



    /**
     * 更新代理商通道状态
     * @param entity
     */
    @UpdateProvider(type = ChannelSqlProvider.class, method = "updateStatus")
    void updateByStatus(SysAgentChannel entity);
}
